package com.qian.fmall.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {

    private String userId ;
    private String username ;
    private String password ;
    private String nickname ;
    private String realname ;
    private String userImg ;
    private String userMobile ;
    private String userEmail ;
    private String userSex ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userBirth ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userRegtime ;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userModtime ;
}
